package com.pronosticnews.client.admin.view.listClub;

import java.util.List;

import com.google.gwt.user.cellview.client.ColumnSortList;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.view.client.HasData;
import com.pronosticnews.shared.model.ClubDto;
import com.pronosticnews.shared.model.PaysDto;

import fr.ysa.services.config.ConfigRequetesDto;
import fr.ysa.services.config.FiltreDto;

public interface ListClubView extends IsWidget {

	void setPresenter(Presenter presenter);

	HasData<ClubDto> getHasData();

	ColumnSortList getColumnSortList();

	void setClub(int debut, List<ClubDto> result);

	void setRowCount(Integer result);

	void setPays(List<PaysDto> result);
	
	public interface Presenter {
		public void getListClub(ConfigRequetesDto config,
				AsyncCallback<List<ClubDto>> callback);

		public void supprimeSelected();

		public void updateFiltreRequete(List<FiltreDto> filtres);

		void getPays();		
	}
}
